A basic XML document is simply an XML element that can, but might not include nested XML elements. For example, the XML element 'books' below is a valid XML document.
<books> <book isbn="0735605629"> <title>XML in Action</title> <author>William J. Pardi</author> </book></books>
An element can optionally contain one or more attributes. An attribute is a name-value pair separated by an equal sign (=). In the example above, (isbn="0345374827") is an attribute of the 'book' element. There are some key things to remember when constructing a basic XML document:
Copyright 2000 Extensibility, Inc.
Suite 250, 200 Franklin Street, Chapel Hill, North Carolina 27516